<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="./Public/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="./Public/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="./Public/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="./Public/Admin/Flat/img/favicon.ico">
	    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	    <!--[if lt IE 9]>
	      <script src="dist/js/vendor/html5shiv.js"></script>
	      <script src="dist/js/vendor/respond.min.js"></script>
	    <![endif]-->
	</head>
	<body>
		<form action="" method="post">
			<div class="alert alert-success">修改货品属性</div>
			<div class="form-group">
			<?php foreach ($data as $v){?>
				<label for="exampleInputEmail1"><?php echo $v['taname']?></label>
				
				<select name="" class="form-control">
					<?php foreach ($v['value'] as $value){?>
						<option value="<?php echo $value['gaid']?>" <?php if(in_array($value['gaid'],$combine)){?>
                selected
               <?php }?>><?php echo $value['gavalue']?></option>
					<?php }?>

					
				</select>
			<?php }?>
			</div>
			<div class="form-group">
				<label for="exampleInputEmail1">库存</label>
				<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入类型名称" required="" name="glstock" value="<?php echo $oldData['glstock']?>">
			</div>
			<div class="form-group">
				<label for="exampleInputEmail1">货号</label>
				<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入类型名称" required="" name="glnumber" value="<?php echo $oldData['glnumber']?>">
			</div>
			<input type="hidden" name="glid" value="<?php echo $oldData['glid']?>">
			<button class="btn btn-primary btn-block" type="submit"> 确定 </button>
		</form>
	</body>
</html>
